import { Component, OnInit } from '@angular/core';
import { HomeService } from '../../apis/users.service'

@Component({
  selector: 'app-lazy',
  templateUrl: './lazy.component.html',
  styleUrls: ['./lazy.component.css']
})
export class LazyComponent implements OnInit {

  constructor(private homeService: HomeService) { }

  ngOnInit(): void {
    this.homeService.getHomeList().subscribe({
      next: (data: any) => {
        console.log(data,'dddddddddddddddddd888888888888888888')
      },
      error: (err) => {
        console.log(err,'err');
        
      }
    })
  }

}
